# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Contributor:
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
pkgname=scdoc
pkgver=1.11.3
pkgrel=0
pkgdesc="Simple man page generator written for POSIX systems written in C99"
url="https://git.sr.ht/~sircmpwn/scdoc"
license="MIT"
arch="all"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/scdoc/archive/$pkgver.tar.gz"

build() {
	make PREFIX="/usr"
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}

sha512sums="
fbecc505b44c396890c53c05183d34336160dbd02993ee120421fc6e2a3ec78ba349747e8acfe97af956a0081c923309290ff97fb7babafbc3ca8addc9ec92f9  scdoc-1.11.3.tar.gz
"
